GET Documents/ByTask?tasks[0]={tasks[0]}&tasks[1]={tasks[1]}&filterByTaskItemType[0]={filterByTaskItemType[0]}&filterByTaskItemType[1]={filterByTaskItemType[1]}
Gets documents for the specified tasks.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
tasks |
The tasks. |
Collection of globally unique identifier |
Required |
filterByTaskItemType | Collection of TaskItemTypes |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of ExtendedDocumentDTOName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
FileName |
File Name |
string |
None. |
Viewable |
Determines that Document is viewable or not |
boolean |
None. |
MimeType |
Mime Type |
string |
None. |
Kind |
Kind |
string |
None. |
Length |
Returns Length of Document |
integer |
None. |
ItemID |
ID of item |
globally unique identifier |
None. |
CreatedOn | date |
None. |
|
ContentModifiedOn |
The time the content of the document was last modified. |
date |
None. |
ContentCreatedOn |
The time the content of the document was first persisted to the database. |
date |
None. |
ItemTitle |
Item Title |
string |
None. |
Description |
Description |
string |
None. |
ParentDocumentID |
ID of Parent Document |
globally unique identifier |
None. |
UploadedByID |
The ID of the user that uploaded the document |
globally unique identifier |
None. |
UploadedBy |
Returns who uploaded the document |
string |
None. |
RevisionSetID |
ID of Revision set |
globally unique identifier |
None. |
RevisionDescription |
Revision Description |
string |
None. |
MajorVersion |
Returns Major version |
integer |
None. |
MinorVersion |
Returns Minor version |
integer |
None. |
BuildVersion |
Returns the build version |
integer |
None. |
RevisionVersion |
Returns Revision version |
integer |
None. |
TaskItemType |
Gets or sets the associated task item type for the document if it exists. |
TaskItemTypes |
None. |
DocumentType |
Gets or Sets if the Document was Input or Output from the DMC |
RequestDocumentType |
None. |
ID | globally unique identifier |
None. |
|
Timestamp | Collection of byte |
None. |
Response Formats
application/json, text/json
{ "results": [ { "Name": "sample string 1", "FileName": "sample string 2", "Viewable": true, "MimeType": "sample string 4", "Kind": "sample string 5", "Length": 6, "ItemID": "c768aef5-13ae-4977-ae9a-84dfdd9a375a", "CreatedOn": "2024-05-14T09:29:18Z", "ContentModifiedOn": "2024-05-14T09:29:18Z", "ContentCreatedOn": "2024-05-14T09:29:18Z", "ItemTitle": "sample string 9", "Description": "sample string 10", "ParentDocumentID": "7f95d245-48c7-4c7b-a6b5-b5f4f1a6ed6c", "UploadedByID": "4e7a9d92-ec51-4291-b322-97e74bc999ac", "UploadedBy": "sample string 11", "RevisionSetID": "b4e8c518-146b-44df-a5c7-35151af96914", "RevisionDescription": "sample string 12", "MajorVersion": 13, "MinorVersion": 14, "BuildVersion": 15, "RevisionVersion": 16, "TaskItemType": 1, "DocumentType": 0, "ID": "df3bb21d-913d-4be8-993c-bef1fa0c52e3", "Timestamp": "QEA=" }, { "Name": "sample string 1", "FileName": "sample string 2", "Viewable": true, "MimeType": "sample string 4", "Kind": "sample string 5", "Length": 6, "ItemID": "c768aef5-13ae-4977-ae9a-84dfdd9a375a", "CreatedOn": "2024-05-14T09:29:18Z", "ContentModifiedOn": "2024-05-14T09:29:18Z", "ContentCreatedOn": "2024-05-14T09:29:18Z", "ItemTitle": "sample string 9", "Description": "sample string 10", "ParentDocumentID": "7f95d245-48c7-4c7b-a6b5-b5f4f1a6ed6c", "UploadedByID": "4e7a9d92-ec51-4291-b322-97e74bc999ac", "UploadedBy": "sample string 11", "RevisionSetID": "b4e8c518-146b-44df-a5c7-35151af96914", "RevisionDescription": "sample string 12", "MajorVersion": 13, "MinorVersion": 14, "BuildVersion": 15, "RevisionVersion": 16, "TaskItemType": 1, "DocumentType": 0, "ID": "df3bb21d-913d-4be8-993c-bef1fa0c52e3", "Timestamp": "QEA=" } ] }
text/javascript
{"results":[{"Name":"sample string 1","FileName":"sample string 2","Viewable":true,"MimeType":"sample string 4","Kind":"sample string 5","Length":6,"ItemID":"c768aef5-13ae-4977-ae9a-84dfdd9a375a","CreatedOn":"2024-05-14T09:29:18Z","ContentModifiedOn":"2024-05-14T09:29:18Z","ContentCreatedOn":"2024-05-14T09:29:18Z","ItemTitle":"sample string 9","Description":"sample string 10","ParentDocumentID":"7f95d245-48c7-4c7b-a6b5-b5f4f1a6ed6c","UploadedByID":"4e7a9d92-ec51-4291-b322-97e74bc999ac","UploadedBy":"sample string 11","RevisionSetID":"b4e8c518-146b-44df-a5c7-35151af96914","RevisionDescription":"sample string 12","MajorVersion":13,"MinorVersion":14,"BuildVersion":15,"RevisionVersion":16,"TaskItemType":1,"DocumentType":0,"ID":"df3bb21d-913d-4be8-993c-bef1fa0c52e3","Timestamp":"QEA="},{"Name":"sample string 1","FileName":"sample string 2","Viewable":true,"MimeType":"sample string 4","Kind":"sample string 5","Length":6,"ItemID":"c768aef5-13ae-4977-ae9a-84dfdd9a375a","CreatedOn":"2024-05-14T09:29:18Z","ContentModifiedOn":"2024-05-14T09:29:18Z","ContentCreatedOn":"2024-05-14T09:29:18Z","ItemTitle":"sample string 9","Description":"sample string 10","ParentDocumentID":"7f95d245-48c7-4c7b-a6b5-b5f4f1a6ed6c","UploadedByID":"4e7a9d92-ec51-4291-b322-97e74bc999ac","UploadedBy":"sample string 11","RevisionSetID":"b4e8c518-146b-44df-a5c7-35151af96914","RevisionDescription":"sample string 12","MajorVersion":13,"MinorVersion":14,"BuildVersion":15,"RevisionVersion":16,"TaskItemType":1,"DocumentType":0,"ID":"df3bb21d-913d-4be8-993c-bef1fa0c52e3","Timestamp":"QEA="}]}
application/bson
Binary JSON content. See http://bsonspec.org for details.
application/xml
Sample not available.
text/xml
Sample not available.